package com.xhtt.modules.msg.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xhtt.common.utils.PageUtils;
import com.xhtt.modules.msg.entity.MsgInfo;
import com.xhtt.modules.msg.model.AppVersion;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 消息表 服务类
 * </p>
 *
 * @author feipc
 * @since 2019-03-26
 */
public interface MsgInfoService extends IService<MsgInfo> {

    PageUtils msgList(Map<String, Object> params);

    Map<String, MsgInfo> mapMaxDate(Integer userId);

    void saveMsgBatch(List<MsgInfo> msgInfoList);

    AppVersion appVersion();
}
